package com.wys.mall.product.feign;

import com.wys.common.es.SkuEsModel;
import com.wys.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * @Package com.wys.mall.product.feign
 * @Author charlin
 * @Version: v1.0
 * @Date 2021-06-2514:14
 * @Copyright: 2021 www.wyscha.com Inc. All rights reserved.
 */
@FeignClient("mall-search")
public interface SearchFeignService {

    @PostMapping("/search/save/product")
    R productStatusUp(List<SkuEsModel> collect);
}
